#include "HiranipraShared.h"

#ifndef _SHARED_MATH_SIZE_H_
#define _SHARED_MATH_SIZE_H_

namespace Hiranipra {
	namespace Math {

		typedef struct Size2D_t {
			union {
				float value[ 2 ];
				struct {
					float w, h;
				};
			};
			Size2D_t( float _w = 0, float _h = 0 ) : w( _w ), h( _h ) {}
		} Size2D;

		typedef struct Size3D_t {
			union {
				float value[ 3 ];
				struct {
					float w, h, l;
				};
			};
			Size3D_t( float _w = 0, float _h = 0, float _l = 0 ) : w( _w ), h( _h ), l( _l ) {}
		} Size3D;

	}
}

#endif // _SHARED_MATH_SIZE_H_